package com.kx;

import org.apache.log4j.Logger;

/**
 * 将日志信息插入到数据库表中。
 *
 * @author kx  2022/03/08  10:20
 *
 */
public class LogMySQLRun {

    private static Logger log = Logger.getLogger(LogMySQLRun.class);

    public static void main(String[] args) {

        log.debug("This is logger debug message.");
        log.info("This is logger info message.");

        System.out.println("---------------------- log4j-1.Xjar包测试完成 ----------------------");
    }

}


